package com.jvup.gameshow.model.viewModel;

import androidx.lifecycle.MutableLiveData;

import com.jvup.gameshow.BR;
import com.jvup.common.support.base.IViewModel;
import com.qire.antsbinder.viewModel.annotation.ViewModelProperty;
import com.qire.antsbinder.viewModel.annotation.ViewModelProperty.Type;

public interface ILoginGuideViewModel extends IViewModel {

    int variableId = BR.loginGuideViewModel;

    @ViewModelProperty(name = "title")
    MutableLiveData<CharSequence> getTitle();

    @ViewModelProperty(name = "phoneLoginPanelVisible")
    MutableLiveData<Integer> getPhoneLoginPanelVisible();

    @ViewModelProperty(name = "registerPanelVisible")
    MutableLiveData<Integer> getRegisterPanelVisible();

    @ViewModelProperty(name = "phoneNumber",type = Type.SET)
    void setPhoneNumber(String phoneNumber);

    @ViewModelProperty(name = "phoneNumber")
    MutableLiveData<String> getPhoneNumber();

    @ViewModelProperty(name = "registerPassword",type = Type.SET)
    void setRegisterPassword(String registerPassword);

    @ViewModelProperty(name = "registerPassword")
    MutableLiveData<String> getRegisterPassword();

    @ViewModelProperty(name = "registerBtnTextColor")
    MutableLiveData<String> getRegisterBtnTextColor();

    @ViewModelProperty(name = "registerBtnBackground")
    MutableLiveData<Integer> getRegisterBtnBackground();

    @ViewModelProperty(name = "registerBtnEnabled")
    MutableLiveData<Boolean> getRegisterBtnEnabled();


}
